package com.example.hotelsystem.vo.roomtype;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class RoomTypeSaveVO {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "房间类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "房间类型名称")
    @NotNull(message = "请填写房间类型名称")
    private String type;

    @ApiModelProperty(value = "房价价格")
    @NotNull(message = "请输入房间类型价格")
    private Double price;


}
